.filtered-search-box {
  position: relative;
  flex: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  line-height: 24px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
}

.filtered-search-box .tokens-container {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  padding-left: 12px;
  position: relative;
  margin: 0;
}

.filtered-search-box .input-token {
  flex: 1;
  min-width: 64px;
}

.filtered-search-box .filtered-search {
  width: 100%;
  position: relative;
  line-height: 24px;
  padding: 6px 25px 6px 0;
  border: 0;
  outline: none;
}

.filtered-search-box .clear-search {
  border: 0;
  z-index: 1;
  outline: none;
  color: #c4c4c4;
  background: #fff;
}

.filtered-search-box .clear-search:hover {
  color: #444;
}

.filtered-search-box .ui.dropdown .filter-items {
  border: 0;
}

.filtered-search-box .ui.dropdown .filter-items > .item {
  min-width: 240px;
}

.filtered-search-box .ui.dropdown .filter-items > .item.history-item {
  max-width: 320px;
  white-space: normal;
}

.filtered-search-box .ui.dropdown .filter-items .item-icon {
  margin-right: 0.78571429rem;
}

.filtered-search-box .ui.dropdown .filter-items .item-fixed {
  display: block !important;
}

.filtered-search-box .ui.dropdown .filter-items .item-keywords {
  display: none;
}

.filtered-search-box .ui.dropdown .filter-items .ui.loader {
  margin-right: 0.8em;
}

.filtered-search-box.focus {
  border-color: #2185d0;
  box-shadow: 0 0 4px rgba(33, 133, 208, 0.4);
}

.filtered-search-box.disabled {
  position: relative;
  pointer-events: none;
}

.filtered-search-box.disabled::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  z-index: 10;
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
}

.filtered-search-box .hidden {
  display: none;
}

.filtered-search-box .input-filter-token .menu > .message {
  display: none;
}

.filtered-search-box-input-container {
  flex: 1;
  position: relative;
  min-width: 0;
}

.filtered-search-token,
.filtered-search-term {
  display: flex;
  flex-shrink: 0;
  max-width: 100%;
  margin-top: 4px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.filtered-search-token .name,
.filtered-search-term .name {
  background-color: #f8f8f8;
  color: rgba(0, 0, 0, 0.55);
  border-radius: 2px 0 0 2px;
  margin: 1px 1px 1px 0;
  text-transform: capitalize;
}

.filtered-search-token .value-container,
.filtered-search-term .value-container {
  background-color: #f0f0f0;
  color: rgba(0, 0, 0, 0.85);
  border-radius: 0 2px 2px 0;
  margin: 1px 1px 1px 0;
  padding-right: 8px;
}

.filtered-search-token .value-container:last-child,
.filtered-search-term .value-container:last-child {
  margin-right: 5px;
}

.filtered-search-token .value-container.has-color,
.filtered-search-term .value-container.has-color {
  color: #fff;
}

.filtered-search-token .item-icon,
.filtered-search-term .item-icon {
  margin-right: 0.5rem;
}

.filtered-search-token .item-image,
.filtered-search-term .item-image {
  width: 20px;
  height: 20px;
  vertical-align: top;
  margin-top: 1px;
}

.filtered-search-token .item-image.ui.avatar.image,
.filtered-search-term .item-image.ui.avatar.image {
  width: 20px;
  height: 20px;
}

.filtered-search-token .name, .filtered-search-token .value,
.filtered-search-term .name,
.filtered-search-term .value {
  display: inline-block;
  padding: 2px 7px;
}

.filtered-search-token .remove-token,
.filtered-search-term .remove-token {
  display: inline-block;
  padding-left: 4px;
  padding-right: 0;
}

.filtered-search-token .selectable,
.filtered-search-term .selectable {
  display: flex;
  flex-wrap: wrap;
}

.filtered-search-token [role="button"],
.filtered-search-term [role="button"] {
  -webkit-appearance: inherit;
  cursor: pointer;
}

.filtered-search-token:hover .name,
.filtered-search-term:hover .name {
  background-color: #ebebeb;
}

.filtered-search-token:hover .value-container,
.filtered-search-term:hover .value-container {
  background-color: #dadada;
}

.filtered-search-term .name {
  color: #000;
  text-transform: none;
  background-color: transparent;
}

.filtered-search-term:hover .name {
  background-color: transparent;
}

.ui.form .filtered-search-box .filtered-search {
  border: 0;
  padding-left: 0;
}
